﻿<%@ Import namespace="DigitalGoodsExample"%>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SetExpressCheckout.aspx.cs" Inherits="DigitalGoodsExample.SetExpressCheckout" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
		<title>PayPal NVP SDK - Simplified Shopping Cart Page for a Spiritual Store</title>
	</HEAD>
	<body>
		<center>
			<form id="ExpressCheckoutForm" method="post" runat="server" name="ExpressCheckoutForm">
				<span id="apiheader">Step 1: SetExpressCheckout</span>
				<table class="api">
					<tr>
						<td colspan="2">
							<br>
							<center>
								You must be logged into <a href='<%=Constants.ECURLLOGIN%>' id="PayPalDeveloperCentralLink" target="_blank">
									Developer Central </a>
								<br>
								<br>
							</center>
						</td>
					</tr>
		</table>
        	<table>
        	<th>Shopping cart Products:</th>	
        	<tr>
					<td class="field">
						CDs:</td>
					<td>
						<input type="text" size="30" maxlength="32" name="L_NAME1" id="L_NAME1" runat="server" value="Path To Nirvana" /></td>
		
		
				<td class="field"> Amount:  </td>
				<td>
					<input type="text" name="L_AMT1" size="5" maxlength="32" id="L_AMT1" runat="server" value="39.00" /> </td>
		
					 <td class="field">
					Quantity:   </td>
				<td>
					 <input type="text" size="3" maxlength="32" name="L_QTY1" id="L_QTY1" runat="server" value="2" /> </td>
		
			</tr>
			 <tr>
					<td class="field">
					Books:</td>
				<td>
					<input type="text" size="30" maxlength="32" name="L_NAME0" id="L_NAME0" runat="server" value="Know Thyself" /> </td>


			<td class="field">
				Amount: <br /> </td>
			<td>
				<input type="text" name="L_AMT0" size="5" maxlength="32" id="L_AMT0" runat="server" value="9.00"  /> </td>

				 <td class="field">
				Quantity:   </td>
			   <td>  <input type="text" size="3" maxlength="32" name="L_QTY0" id="L_QTY0" runat="server" value="2"  /> </td>

		</tr>
		    <tr>
		       <td class="field">
				Currency: <br /> </td>
			<td>
		       <select name="currencyCodeType" id="currencyCodeType" runat="server" >
				<option value="USD">USD</option>
				<option value="GBP">GBP</option>
				<option value="EUR">EUR</option>
				<option value="JPY">JPY</option>
				<option value="CAD">CAD</option>
				<option value="AUD">AUD</option>
			</select>     </td>
	          </tr>
	  </table>
	  <br/><br/>
	  <table>
		<th>Ship To:</th>

	          <tr>
			<td class="field">
				 Name:</td>
			<td>
				<input type="text" size="30" maxlength="32" name="NAME" value="True Seeker" id="NAME" runat="server" /></td>
		</tr>
		<tr>
			<td class="field">
				Street:</td>
			<td>
				<input type="text" size="30" maxlength="32" name="SHIPTOSTREET" id="SHIPTOSTREET" runat="server" value="111, Bliss Ave" /></td>
		</tr>
		<tr>
			<td class="field">
				City:</td>
			<td>
				<input type="text" size="30" maxlength="32" name="SHIPTOCITY" id="SHIPTOCITY" runat="server" value="San Jose" /></td>
		</tr>
		<tr>
			<td class="field">
				State:</td>
			<td>
				<input type="text" size="30" maxlength="32" name="SHIPTOSTATE" id="SHIPTOSTATE" runat="server" value="CA" /></td>
		</tr>
		<tr>
			<td class="field">
				Country:</td>
			<td>
				<input type="text" size="30" maxlength="32" name="SHIPTOCOUNTRYCODE" id="SHIPTOCOUNTRYCODE" runat="server" value="US" /></td>
		</tr>
		<tr>
			<td class="field">
				Zip Code:</td>
			<td>
				<input type="text" size="30" maxlength="32" name="SHIPTOZIP" id="SHIPTOZIP" runat="server" value="95128" /></td>
		            </tr>
		
					<tr>
						<td>
							<br>
							<br>
							<input type="image" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif"
								id="submit" runat="server">
						</td>
						<td>
							<br>
							<br>
							Save time. Pay securely without sharing your financial information.
						</td>
					</tr>
				</table>
			</form>
		</center>
		<br>
	</body>
</HTML>
